import {configureStore} from '@reduxjs/toolkit'
import {searchListReducer} from './searchSlice'
import searchSliceApi from './searchSliceApi'
import {setupListeners} from '@reduxjs/toolkit/query'
import {loginReducer} from './Login'

const store =  configureStore({
    reducer:{
        searchList:searchListReducer,
        login:loginReducer,
        'musicListApi':searchSliceApi.reducer

    }
})
setupListeners(store.dispatch);
export default store